package cn.edu.wynu.apis.time;

import java.time.LocalDateTime;

public class TimeCalculator {
    public static void main(String[] args) {
        System.out.println("当前日期和时间:%s".formatted(LocalDateTime.now()));

        // 再过100天就过生日
        LocalDateTime birthday = LocalDateTime.now().plusDays(100);
        System.out.println("再过100天就过生日:%s".formatted(birthday));
    }
}
